﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Commands.GetCommands
{
    internal class MultiLineCommandParser
    {
        /// <summary>
        /// Parse string with several commands, separated by newline.
        /// </summary>
        public static List<Command> ParseCommandString(string commandString)
        {
            var result = new List<Command>();

            if (string.IsNullOrEmpty(commandString))
                return result;

            var commands = commandString.Split(new string[] { Environment.NewLine }, StringSplitOptions.RemoveEmptyEntries);

            var name = commands[0];
            //for (int i = 1; i < commands.Length; i++ )

            // TODO 

            return result;
        }

    }
}
